<html>
<head>
<link href="inettuts.css" rel="stylesheet" type="text/css" />
<script src="../../../../../global-themis/js/jquery.js"></script>
<?php
include ("../../../../../global-themis/PCO.php");
include ("../../../../../global-themis/Classes/responsable.class");
include ("../../../../../global-themis/functions/function_graph.php");
include ("../../../../../global-themis/functions/functions.php");
$compte_array=array();
$code_res="";
$tab=array();
$tab[0][0]="";
$tab[0][1]="MEA";
$tab[0][2]="A COMM";
$tab[0][3]="A CONF";
$tab[0][4]="REL";
$tit=array();
$tit[0]="";
$tit[1]="";
$tit[2]="column";
$tit[3]="1000";//width
$tit[4]="600";//height
$result="";

?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <link rel='stylesheet' type='text/css' href='../../../../../global-themis/css/themisstyle.css'/>
<script src="../../../../../global-themis/js/jquery.js"></script>
<script type="text/javascript">
function OuvrirPopup(page) {
// le POPUP
      window.open(page, "comments", "toolbar=no, status=yes, scrollbars=yes, resizable=yes, width=1100, height=600");
}
</script>
<script type="text/javascript" src="../../../../../global-themis/js/highcharts.js"></script>
<script type="text/javascript" src="../../../../../global-themis/js/modules/exporting.js"></script>
<script type="text/javascript" src="../../../../../global-themis/js/themes/gray.js"></script>
<script type="text/javascript">
<?php
if(isset($_GET['code_res'])){
	$code_res=$_GET['code_res'];
	$res = new Responsable();
	$tab[1][0]=$res->getCountEnAttente($code_res);	
	$tab[1][1]=$res->getCountEnAttente($code_res);	
	$tab[1][2]=$res->getCountAlerteComm($code_res);	
	$tab[1][3]=$res->getCountEnConf($code_res);	
	$tab[1][4]=$res->etCountEnRelance($code_res);	
	$result=buildChart_($tab, "", $tit);
	echo $result;
}
?>
</script>
</head>
<body>
<div id='container'></div>
</body>
</html>
